<div class="canbos index">
	<h2 align="center"><?php __('Danh Sách Cán Bộ');?></h2>
	<table cellpadding="0" cellspacing="0" id="canbo" >
	<tr class="canbo.tr">
			<th><font size="20px" ></font><?php echo ('Mã Cán Bộ');?></th>
			<th><?php echo ('Tên');?></th>
			<th><?php echo ('Phái');?></th>
			<th><?php echo ('Năm Sinh');?></th>
			<th><?php echo ('Số Điện Thoại');?></th>
			<th><?php echo ('Quê Quán');?></th>
			<th><?php echo ('Năm Vào Làm');?></th>
			<th><?php echo ('Email');?></th>
			<th><?php echo ('Học Hàm');?></th>
			<th><?php echo ('Học Vị');?></th>
			<th><?php echo ('Đơn Vị');?></th>
			<th class="actions"><?php __('Tùy Chỉnh');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($canbos as $canbo):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $canbo['Canbo']['macb']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ten']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['phai']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['namsinh']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['sodienthoai']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['quequan']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['namvaolam']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['email']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($canbo['Hocham']['tenhocham'], array('controller' => 'hochams', 'action' => 'view', $canbo['Hocham']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Hocvi']['tenhocvi'], array('controller' => 'hocvis', 'action' => 'view', $canbo['Hocvi']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Donvi']['tendonvi'], array('controller' => 'donvis', 'action' => 'view', $canbo['Donvi']['id'])); ?>
		</td>
		<td><?php echo $canbo['Canbo']['id']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Xem', true), array('action' => 'view', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Sửa', true), array('action' => 'edit', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Xóa', true), array('action' => 'delete', $canbo['Canbo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $canbo['Canbo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
